/*
 * @Author: xiaxia
 * @Description: 
 * @Date: 2024-06-20 15:25:09
 * @LastEditTime: 2024-06-25 16:17:42
 * @FilePath: \project\src\utils\token.ts
 */
// 封装本地化存取工具
export const SET_TOKEN = (token:string)=> {
  localStorage.setItem('TOKEN', token)
}
export const GET_TOKEN = ()=> {
  return localStorage.getItem('TOKEN')
}
// 删除
export const REMOVE_TOKEN = ()=> {
  localStorage.removeItem('TOKEN')
}